import RPi.GPIO as GPIO
import time

def init(ch_list):
	GPIO.setmode(GPIO.BCM)
	GPIO.setup(ch_list, GPIO.OUT)
	GPIO.output(ch_list, GPIO.HIGH)

pin_list = list(range(2, 18))
init(pin_list)
time.sleep(3)
GPIO.output(pin_list, GPIO.LOW)
